interface ISearchable {
  (source: string, subString: string): boolean;
}

let search: ISearchable;
search = (source: string, subString: string) => {
  let rs = source.search(subString);

  return rs > -1;
}